module.exports = {
  title: '前端小白的杂录',
  description: 'Just playing around',
  base: '/start/',
  dest: './dist',
  port: 8080,
  themeConfig: {
    // 导航栏
    nav: [
      { text: '首页', link: '/' },
      {
        text: '前端开发',
        items: [
          { text: 'React框架', link: '/Frontend/React/' },
          { text: 'TypeScript', link: '/Frontend/Typescript/' },
        ]
      },
      { text: '必应', link: 'https://cn.bing.com/' },
    ],
    search: true, // 启用搜索框
    searchMaxSuggestions: 10, // 最大搜索结果数
    sidebar: [
      {
        title: 'TypeScript',   // 必要的
        collapsable: false, // 可选的, 默认值是 true,
        sidebarDepth: 2,    // 可选的, 默认值是 1
        children: [
          '/Frontend/Typescript/',
          '/Frontend/Typescript/primer',
          '/Frontend/Typescript/CommonlyUsedType',
        ]
      }
    ]
  }
}